<template>
  <el-input placeholder="输入股票代码" v-model="$store.state.indexCode" clearable>
    <el-button slot="append" icon="el-icon-search" @click="goHSIndex"></el-button>    
  </el-input>
</template>